package com.yxinsur.imc.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yxinsur.imc.common.core.domain.BaseImcEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yxinsur.imc.common.annotation.Excel;
import com.yxinsur.imc.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 代理人团队异动记录对象 imc_broker_change_team
 *
 * @author imc
 * @date 2021-03-23
 */
@Data
public class ImcBrokerChangeTeam extends BaseImcEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private String id;

    /** 异动人员id */
    @Excel(name = "异动人员id")
    private Long brokerId;

    /** 原团队id */
    @Excel(name = "原团队id")
    private Long sourceTeamId;

    /** 目标团队id */
    @Excel(name = "目标团队id")
    private Long targetTeamId;

    private String remark;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private String isDeleted;

    /** 租户id,一个租户id唯一对一个机构id（默认机构id为根节点id暨法人机构） */
    @Excel(name = "租户id,一个租户id唯一对一个机构id", readConverterExp = "默=认机构id为根节点id暨法人机构")
    private String tenantId;

    /**
     * 异动生效时间
     */
    private Date changeTime;

}
